type MyPick<T, K extends keyof T> = {
  [P in K]: T[P];
};

// in 遍历 K 每一项
// K extends keyof T 类型约束 K只能存在在T
